<%
  /****
  * Desktop_Content.jsp
  * This file displays the main contents of a welcome desktop page, showing
  * quick links to folders like Shared Reports, My Reports, etc. as well as
  * other features such Preferences, History List, etc.
  *
  * Copyright 2004 MicroStrategy Incorporated. All rights reserved.
  * version: 1.2
  * xhtml: true
  ****/
%><%@ page errorPage="JSP_Error.jsp"
%><%@ page contentType="text/html; charset=UTF-8"
%><%@ taglib uri="/webUtilTL.tld" prefix="web"%>

<%--
 The following DIV renders the "If you are not [a user]" string so a user can logout.
 If 508 is enabled, the name of the user will be part of the hyperlink in order to be
 interpreted correctly by the 508 reader.
--%>
<div class="mstrInstruct"><web:descriptor key="mstrWeb.859" desc="Welcome" /> <web:connectionValue property="userName"
/>. (<web:descriptor key="mstrWeb.860" desc="If you are not ##," replaceValue="$com.microstrategy.web.app.taglibs.ConnectionValueTagHelper:setProperty.userName$"
/>&nbsp;<web:urlEvent eventID="com.microstrategy.web.app.beans.EnumServletEvents.WebEventQuickLogout"
><web:descriptor key="mstrWeb.861" desc="click here"
/></web:urlEvent>.)</div>

<div class="mstrDesktopSection">
 <div class="mstrDesktopSectionTitle"><web:descriptor key="mstrWeb.3497" desc="Tools" /></div>

  <div class="mstrLargeIconView">

  <web:dynTable cols="2" >
    <col />
    <col />

    <web:ifFeature name="access-to-user-manager"><web:then>
     <web:dynTableCell>

      <table cellspacing="0" class="mstrLargeIconViewItem">
      <tr><td >
        <web:urlEvent eventID="com.microstrategy.web.app.beans.EnumServletEvents.WebEventOpenTopLevelUserGroups">
         <img <web:resource attribute="SRC" name="userManager.gif"/> WIDTH="40" HEIGHT="40s" BORDER="0" <web:descriptor attribute="alt" key="mstrWeb.4017" desc="User Manager" /> />
        </web:urlEvent>
       </td><td class="mstrLargeIconViewItemText">
       <div class="mstrLargeIconViewItemName">
        <web:urlEvent eventID="com.microstrategy.web.app.beans.EnumServletEvents.WebEventOpenTopLevelUserGroups">
         <web:descriptor key="mstrWeb.4017" desc="User Manager" />
        </web:urlEvent>
       </div>
       <div class="mstrLargeIconViewItemDescription">
        <web:descriptor key="mstrWeb.4018" desc="Create, edit and delete users and groups." />
       </div>
      </td></tr></table>

     </web:dynTableCell>
    </web:then></web:ifFeature>

    <web:ifFeature name="access-to-security-role-manager"><web:then>
     <web:dynTableCell>
      <table cellspacing="0" class="mstrLargeIconViewItem">
      <tr><td>
        <web:urlEvent eventID="com.microstrategy.web.app.beans.EnumServletEvents.WebEventOpenSecurityRolesFolder">
            <web:eventArgument name="com.microstrategy.web.app.beans.EnumServletEvents.WebEventArgumentSearchString" value="*" />
            <web:eventArgument name="com.microstrategy.web.app.beans.EnumServletEvents.WebEventArgumentObjectType" value="44" />
            <web:eventArgument name="com.microstrategy.web.app.beans.EnumServletEvents.WebEventArgumentSearchDomain" value="3" />
            <img <web:resource attribute="SRC" name="srDesktop.gif"/> WIDTH="40" HEIGHT="40s" BORDER="0" <web:descriptor attribute="alt" key="mstrWeb.4455" desc="[Security Roles]" /> />
        </web:urlEvent>
       </td><td class="mstrLargeIconViewItemText">
       <div class="mstrLargeIconViewItemName">
        <web:urlEvent eventID="com.microstrategy.web.app.beans.EnumServletEvents.WebEventOpenSecurityRolesFolder">
            <web:eventArgument name="com.microstrategy.web.app.beans.EnumServletEvents.WebEventArgumentSearchString" value="*" />
            <web:eventArgument name="com.microstrategy.web.app.beans.EnumServletEvents.WebEventArgumentObjectType" value="44" />
            <web:eventArgument name="com.microstrategy.web.app.beans.EnumServletEvents.WebEventArgumentSearchDomain" value="3" />
            <web:descriptor key="mstrWeb.5746" desc="Security Role Manager" />
        </web:urlEvent>
       </div>
       <div class="mstrLargeIconViewItemDescription">
        <web:descriptor key="mstrWeb.4483" desc="Create, edit and delete security roles." />
       </div>
      </td></tr></table>

     </web:dynTableCell>
    </web:then></web:ifFeature>

   </web:dynTable>
  </div>

</div>
<table class="mstrVersionInfoLink">
<tr>
<td align="right"><web:urlEvent eventID="com.microstrategy.web.app.beans.EnumServletEvents.WebEventOpenAbout"><web:descriptor key="mstrWeb.2564" desc="Version information..."/></web:urlEvent><br /></td></tr>
</table>
